﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class mdc_spm_TW_Payment_Terms : DataObject
    {
        [Column]
        public string Payment_Terms_ID { get { return _Payment_Terms_ID; } set { _Payment_Terms_ID = value; EntityState.FieldChange("Payment_Terms_ID"); } } private string _Payment_Terms_ID; public static FieldInfo payment_Terms_ID = new FieldInfo("mdc_spm_TW_Payment_Terms", "Payment_Terms_ID");
        [Column]
        public string Payment_Terms_Value { get { return _Payment_Terms_Value; } set { _Payment_Terms_Value = value; EntityState.FieldChange("Payment_Terms_Value"); } } private string _Payment_Terms_Value; public static FieldInfo payment_Terms_Value = new FieldInfo("mdc_spm_TW_Payment_Terms", "Payment_Terms_Value");
        [Column]
        public int Days { get { return _Days; } set { _Days = value; EntityState.FieldChange("Days"); } } private int _Days; public static FieldInfo days = new FieldInfo("mdc_spm_TW_Payment_Terms", "Days");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("mdc_spm_TW_Payment_Terms", "Status");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("mdc_spm_TW_Payment_Terms", "Time");

    }
}
